package top.roud.sso.service;


import java.util.Map;

/**
 * @author roud
 * @version 1.0.0
 * @describe
 * @date 2025-01-20 19:58
 */
public interface TokenService {
    String getToken(String key, Map<String, Object> map);

    boolean loseKey(String key);

    boolean loseToken(String token);

    boolean checkToken(String token);

    Map<String, Object> getInfo(String token);

}
